package com.sandasai.action.student;
import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;
import com.sandasai.service.StudentManager;
@Controller
@Scope("prototype")
public class ContestInfoAction extends ActionSupport{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Resource
	private StudentManager studentManager;

	/**
     * @return
     */
    public String execute() {
        ActionContext ctx = ActionContext.getContext();
        ctx.put("messageOfDasai", studentManager.getMessageOfDasai());
        return SUCCESS;
    }
}